package com.carbon.system.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.carbon.system.entity.CarbonArticle;
import com.carbon.common.service.BaseService;
import com.carbon.system.param.CarbonArticleQueryParam;
import com.carbon.system.param.CarbonArticleStatuParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 碳文章 服务类
 * </p>
 *
 * @author Li Jun
 * @since 2021-08-01
 */
public interface CarbonArticleService extends BaseService<CarbonArticle> {

    IPage<CarbonArticle> search(Page<CarbonArticle> page, CarbonArticleQueryParam param);

    Boolean offlineOrUpdate(CarbonArticleStatuParam param);

    void syncFeishuDoc(String accessToken);

    String createFeishuDoc();
}
